
#include <stdio.h>

int AddToTarget(int begin, int end)
{
    return (begin + end) * (end - begin + 1) / 2;
}

int main()
{
    printf("Run begin...\n");

    int result = 0;
    result = AddToTarget(1, 100);
    printf("result: %d\n", result);

    printf("Run end...\n");
    return 0;
}


